package entity;

import java.util.List;

/**
 * Created by dllo on 15/11/30.
 */
public class SearchEntity {

    /**
     * albumResultNum : 2
     * albumResultList : [{"id":15969,"keyword":"109首现代幼儿童话","highlightKeyword":"<em>1<\/em>09首现代幼儿童话","category":"儿童","imgPath":"http://fdfs.xmcdn.com/group3/M09/3C/D0/wKgDslMYHgbzA2HrAAVo2Z5TLRQ609_mobile_small.jpg"},{"id":3833,"keyword":"139个童话寓言","highlightKeyword":"<em>1<\/em>39个童话寓言","category":"儿童","imgPath":"http://fdfs.xmcdn.com/group1/M01/12/CE/wKgDrlFSxA_SLZx_AAF-ZUXITjQ744_mobile_small.jpg"}]
     * queryResultNum : 6
     * queryResultList : [{"id":2740,"keyword":"10音社","highlightKeyword":"<em>1<\/em>0音社"},{"id":3140,"keyword":"1989","highlightKeyword":"<em>1<\/em>989"},{"id":3422,"keyword":"1066","highlightKeyword":"<em>1<\/em>066"},{"id":2609,"keyword":"120度黑","highlightKeyword":"<em>1<\/em>20度黑"},{"id":2581,"keyword":"1010柒夜","highlightKeyword":"<em>1<\/em>010柒夜"},{"id":1150187,"keyword":"1900studio","highlightKeyword":"<em>1<\/em>900studio"}]
     */

    private int albumResultNum;
    private int queryResultNum;
    private List<AlbumResultListEntity> albumResultList;
    private List<QueryResultListEntity> queryResultList;

    public void setAlbumResultNum(int albumResultNum) {
        this.albumResultNum = albumResultNum;
    }

    public void setQueryResultNum(int queryResultNum) {
        this.queryResultNum = queryResultNum;
    }

    public void setAlbumResultList(List<AlbumResultListEntity> albumResultList) {
        this.albumResultList = albumResultList;
    }

    public void setQueryResultList(List<QueryResultListEntity> queryResultList) {
        this.queryResultList = queryResultList;
    }

    public int getAlbumResultNum() {
        return albumResultNum;
    }

    public int getQueryResultNum() {
        return queryResultNum;
    }

    public List<AlbumResultListEntity> getAlbumResultList() {
        return albumResultList;
    }

    public List<QueryResultListEntity> getQueryResultList() {
        return queryResultList;
    }

    public static class AlbumResultListEntity {
        /**
         * id : 15969
         * keyword : 109首现代幼儿童话
         * highlightKeyword : <em>1</em>09首现代幼儿童话
         * category : 儿童
         * imgPath : http://fdfs.xmcdn.com/group3/M09/3C/D0/wKgDslMYHgbzA2HrAAVo2Z5TLRQ609_mobile_small.jpg
         */

        private long id;
        private String keyword;
        private String highlightKeyword;
        private String category;
        private String imgPath;

        public void setId(long id) {
            this.id = id;
        }

        public void setKeyword(String keyword) {
            this.keyword = keyword;
        }

        public void setHighlightKeyword(String highlightKeyword) {
            this.highlightKeyword = highlightKeyword;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public void setImgPath(String imgPath) {
            this.imgPath = imgPath;
        }

        public long getId() {
            return id;
        }

        public String getKeyword() {
            return keyword;
        }

        public String getHighlightKeyword() {
            return highlightKeyword;
        }

        public String getCategory() {
            return category;
        }

        public String getImgPath() {
            return imgPath;
        }
    }

    public static class QueryResultListEntity {
        /**
         * id : 2740
         * keyword : 10音社
         * highlightKeyword : <em>1</em>0音社
         */

        private long id;
        private String keyword;
        private String highlightKeyword;

        public void setId(long id) {
            this.id = id;
        }

        public void setKeyword(String keyword) {
            this.keyword = keyword;
        }

        public void setHighlightKeyword(String highlightKeyword) {
            this.highlightKeyword = highlightKeyword;
        }

        public long getId() {
            return id;
        }

        public String getKeyword() {
            return keyword;
        }

        public String getHighlightKeyword() {
            return highlightKeyword;
        }
    }
}
